package cn.mafangui.hotel.service.impl;

import cn.mafangui.hotel.entity.Activity;
import cn.mafangui.hotel.mapper.ActivityMapper;
import cn.mafangui.hotel.service.ActivityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: kalpa
 * @date: 2022/4/3
 * @version: 1.0
 * Description: No Description
 */
@Service
public class ActivityServiceImpl  implements ActivityService {
    @Resource
    ActivityMapper activityMapper;


    @Override
    public List<Activity> getAllActivity() {
        return activityMapper.getAllActivity();
    }
}
